Structs§
Constants§
- Used for node parity when hashing
- Max depth of the Merkle tree
- Max number of concurrent changes to tree supported before having to regenerate proofs
Functions§
- Calculates hash of empty nodes up to level i TODO: cache this
- Recomputes root of the Merkle tree from Node & proof